# -*- coding: utf-8 -*-
__author__ = 'gongqf'
import os
basedir = os.path.abspath(os.path.dirname(__file__))

# SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
# SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')

DEBUG=True
DEBUG_TOOLBAR=True
SECRET_KEY='development key'
USERNAME='admin'
PASSWORD='default'
CSRF_ENABLED = True
OPENID_PROVIDERS = [
    { 'name':'QQ','url':'https://graph.qq.com/oauth2.0/me'},
    { 'name': 'Google', 'url': 'https://www.google.com/accounts/o8/id' },
    { 'name': 'Yahoo', 'url': 'https://me.yahoo.com' },
    { 'name': 'AOL', 'url': 'http://openid.aol.com/<username>' },
    { 'name': 'Flickr', 'url': 'http://www.flickr.com/<username>' },
    { 'name': 'MyOpenID', 'url': 'https://www.myopenid.com' }]
SQLALCHEMY_DATABASE_URI='postgresql://postgres:ggcall@192.168.20.77/gis'
CARD_FOLDER=os.path.join(basedir, 'static','card')
